@echo off

set REPOSITORY_PATH=仓库路径
rem 正在删除...
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
    del /s /q %%i
)

rem 删除完毕
pause